<?php
namespace app\components\story\models\actors;
use app\components\story\models\ActorInterface;
use yii\base\Model;

/**
 * Created by PhpStorm.
 * User: ulric
 * Date: 2016/10/24
 * Time: 14:30
 */
class Traffic extends Model implements ActorInterface
{
    public $traffic = [];

    /**
     * @return mixed
     */
    public function go()
    {
        $model = new $this->traffic['class'];
        return $model->go();
    }


}